package ooday04;

public class Chick extends Animal{
    String xiadan;
    Chick(String name,int age,String color){
        super(name,age,color);
        this.xiadan=xiadan;
    }

    void eat(){

    }
    void setXiaDan(){
        System.out.println("一条"+color+"的鸡，正在下蛋！它叫"+name+"，今年"+age+"岁了");
    }
}
